import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;


public class BluePlayer extends Player {

	public BluePlayer(int x, int y, boolean isRed, int kp, int ke, int pp, int pe, int sp, int se) throws IOException {
		super(x, y, isRed, kp, ke, pp, pe, sp, se);
		
		setAlert(2);
		setWalk(6);
		setJump(8);
		setBlock(9);
		setBlockHit(9);
		setPunchNum(19); //14
		setKickNum(27); //17
		
		setJumpMax(10);
		
		loadSprites(27);//19
	}
	
	public void loadSprites(int number){
		for(int i = 0; i <= number; i++){
			try {
				//getSpritesR().add(ImageIO.read(new File("BluePlayer.R/" + i +".png")));
				//getSpritesL().add(ImageIO.read(new File("BluePlayer.L/" + i +".png")));
				getSpritesR().add(ImageIO.read(new File("BluePlayer.R-A/" + i +".png")));
				getSpritesL().add(ImageIO.read(new File("BluePlayer.L-A/" + i +".png")));
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
	}
}
